package com.cast.service;

import com.cast.domain.User;

import java.util.List;

public interface UserService {

    void addUser(String name, double money);


    void deleteByName(String name);


    void updateUser(User user);


    List<User> findAall();

    void deleteById(int id);

    User findByName(String name);

    User findById(int id);

}
